<?php /*防止小偷的，不会被编译显示在网页源码中*/header('HTTP/1.1 404 Not Found');echo '<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
</head>
<body>
<div style="text-align:center; margin-top:50px; font-size:2em;">站长不想和你们这些贱人小偷说话！<br/>并向你们扔了一坨屎！</div>
</body>
</html>'; exit();?>
{* Template Name: 主题自带seo功能模板 *}
{if $type=='article'}
<title>{$title}-{$article.Category.Name}-{$name}</title>
<meta name="keywords" content="{foreach $article.Tags as $tag}{$tag.Name},{/foreach}" />
{php}$description = preg_replace('/[\r\n\s]+/', ' ', trim(SubStrUTF8(TransferHTML($article->Content,'[nohtml]'),80)).'...');{/php}
<meta name="description" content="{$description}" />
{elseif $type=='page'}
<title>{$title}-{$name}</title>
<meta name="keywords" content="{$title}" />
{php}$description = preg_replace('/[\r\n\s]+/', ' ', trim(SubStrUTF8(TransferHTML($article->Content,'[nohtml]'),80)).'...');{/php}
<meta name="description" content="{$description}" />
{elseif $type=='index'}
<title>{$name}{if $page>'1'}-第{$pagebar.PageNow}页{/if}-{$subname}</title>
<meta name="Keywords" content="{$zbp->Config('danblog')->Keywords}">
<meta name="description" content="{$zbp->Config('danblog')->Description}">
{elseif $type=='category'}
<title>{$title}-{$subname}</title>
<meta name="Keywords" content="{if $category.Metas.flgjc}{$category.Metas.flgjc}{else}{$zbp->Config('danblog')->Keywords}{/if}">
<meta name="description" content="{if $category.Intro}{$category.Intro}{else} - {$zbp->Config('danblog')->Description}{/if}">
{elseif $type=='tag'}
<title>{$title} - {$subname}</title>
<meta name="Keywords" content="{$title},{$name}">
<meta name="description" content="{if $tag.Intro}{$tag.Intro}{else}{$title} - {$zbp->Config('danblog')->Description}{/if}">
{else}
<title>{$title}-{$name}</title>
{/if}